simple script, needs more checks and verbose option