added config template
added check for platform to add static files