changed default .py layout and enabled/configured appstats