Added permissions to the mkdir command and allow recursive