Added mountpath variable; added path checking; changed fs