changed main script usage a bit