im doing it from a script, dont know if it matters or not if you call it from a command line