Remove hard coded home

Also wrote shell script in shell...