merge shifter script into single_page script