changed image locations to relative, renamed id to main