Make calling the script from other places work