added scripts
fixed stuff for new layout