keep script as simple as possible