Fixed opts with getopt
Added warp function
Removed obsolete permission istruction