Ensured script recreates public folder if non existant