Removed debug
Removed hardcoded pixels
Changed setting to session