Added Postgresql VACUUM and fixed path scripts