added directory cleanup for deploy