added more options to CustomLayerWindow

Change-Id: I75af0a58e83b96108db5154de94bab390c663837
fixed bug in default script

Change-Id: Id4183c2d33d00c5713578e016f798ebc15a5169d