So the steps for this seems to work when the script is sourced with htt