Script now takes command line options