added options (getopt) to the autotoolify.sh script, fixed bugs