updated version to 1.5 and fixed PHP notices.