Added public dir to script