Now stages are printed from the database
Removed some useless parameters