Create script taking a full folder as input