Added comments and more features to main file options