this is so we can use the script from the cli too!