Replaced deprecation: public->public_dir