Change print to logging statements.
Replace STATIC_URL variable with static template tag.