Fix LAMP script