add rebuild database indexes & cleanup

* Add rebuild database indexes step to MySQL to PostgreSQL installations
* Use relative links where possible