make the script standalone