move internal page script to new file
add control for different sizes also validate on complete