working on custom script