fixed bug with script usage