Move hcmop.sh to scripts folder
Make script more general