renamed file agents and renamed some basic variables