Update script and layout