move to a sh script