Wrapping "lock" script in an app container (1.7Mb?!)