move script inside ext directory

for ease to maintain

Signed-off-by: Keff <funnykeff91@gmail.com>
some cleanup

Signed-off-by: Keff <funnykeff91@gmail.com>